$OpenBSD: patch-akonadi_xml_CMakeLists_txt,v 1.1 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- akonadi/xml/CMakeLists.txt.orig	Mon May 19 19:31:04 2014
+++ akonadi/xml/CMakeLists.txt	Mon May 19 19:31:20 2014
@@ -29,10 +29,10 @@ kde4_add_library(akonadi-xml ${LIBRARY_TYPE} ${akonadi
 generate_export_header(akonadi-xml BASE_NAME akonadi_xml EXPORT_FILE_NAME akonadi-xml_export.h)
 
 target_link_libraries(akonadi-xml
+  akonadi-kde
   ${KDE4_KIO_LIBS}
   ${QT_QTXML_LIBRARY}
   ${LIBXML2_LIBRARIES}
-  akonadi-kde
 )
 
 set_target_properties(akonadi-xml PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
@@ -44,8 +44,8 @@ install(FILES akonadi-xml.xsd DESTINATION ${DATA_INSTA
 kde4_add_executable(akonadi2xml akonadi2xml.cpp)
 target_link_libraries(akonadi2xml
    akonadi-xml
-   ${KDE4_KDEUI_LIBS}
    akonadi-kde
+   ${KDE4_KDEUI_LIBS}
 )
 
 install(TARGETS akonadi2xml ${INSTALL_TARGETS_DEFAULT_ARGS})
